<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Fluenty Survey</title>
    <style>
      body {
        margin: 0;
        padding: 0;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
          'Helvetica Neue', sans-serif;
        background-color: #ffffff;
        max-width: 600px;
        margin: 0 auto;
      }
      .container {
        height: 90vh;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }
      .nav-progress-container {
        display: flex;
        align-items: center;
        margin-bottom: 40px;
        gap: 15px;
      }
      .back-button {
        width: 30px;
        height: 30px;
        border: none;
        background: none;
        cursor: pointer;
        color: #2b85e4;
        font-size: 20px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .back-button svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
      }
      .progress-bar {
        flex: 1;
        height: 6px;
        background-color: #e0e0e0;
        border-radius: 3px;
      }
      .progress {
        height: 100%;
        width: 70%;
        background-color: #2b85e4;
        border-radius: 3px;
      }
      .result-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
      }
      .avatar-container {
        width: 250px;
        height: 350px;
        position: relative;
        margin-bottom: 20px;
      }
      .avatar-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
      }
      .topic-bubbles {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
      }
      .topic-bubble {
        position: absolute;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        border: 3px solid #4caf50;
        background-color: white;
      }
      .topic-bubble.restaurant {
        top: 20%;
        left: 10%;
        background-color: #ff9e80;
      }
      .topic-bubble.shopping {
        top: 50%;
        left: 30%;
        background-color: #26c6da;
      }
      .topic-bubble.travel {
        top: 25%;
        right: 10%;
        background-color: #ec407a;
      }
      .check-icon {
        position: absolute;
        width: 24px;
        height: 24px;
        background-color: #4caf50;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        right: -5px;
        bottom: -5px;
      }
      .level-star {
        position: absolute;
        bottom: -30px;
        right: -30px;
        width: 80px;
        height: 80px;
        background-color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
      }
      .star-icon {
        font-size: 40px;
        color: #ffc107;
      }
      .level-text {
        position: absolute;
        bottom: -15px;
        right: -15px;
        font-size: 14px;
        font-weight: bold;
        color: #3b82f6;
      }
      .time-badge {
        background-color: white;
        border-radius: 50px;
        padding: 10px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      }
      .crown-icon {
        font-size: 24px;
        margin-right: 10px;
      }
      .time-text {
        font-size: 20px;
        font-weight: bold;
        color: #0f4c81;
      }
      .main-title {
        font-size: 32px;
        font-weight: bold;
        color: #0b4983;
        margin: 40px 0 20px;
        line-height: 1.3;
        text-align: center;
      }
      .subtitle {
        font-size: 18px;
        color: #333;
        margin-bottom: 40px;
        text-align: center;
        line-height: 1.5;
      }
      .continue-button {
        background-color: #3b82f6;
        color: white;
        border: none;
        border-radius: 12px;
        padding: 18px;
        font-size: 18px;
        font-weight: bold;
        width: 100%;
        cursor: pointer;
        text-align: center;
        margin-top: 20px;
      }
      .continue-button:hover {
        background-color: #2563eb;
      }
      .topic-label {
        position: absolute;
        font-size: 14px;
        font-weight: bold;
        color: #333;
      }
      .topic-label.restaurant {
        top: 15%;
        left: 5%;
      }
      .topic-label.shopping {
        top: 55%;
        left: 50%;
      }
      .topic-label.travel {
        top: 20%;
        right: 0;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <div>
        <div class="nav-progress-container">
          <button class="back-button">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
              <path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" />
            </svg>
          </button>
          <div class="progress-bar"><div class="progress"></div></div>
        </div>
        <img src="./imgs/personalized.png" style="width: 100%" />
        <h1 class="main-title">Fluenty  creates a personalized program for you!</h1>
        <p class="subtitle">Helps you strengthen your weak points over time!</p>
      </div>

      <button class="continue-button">Continue</button>
    </div>
    <script>
      document.addEventListener('DOMContentLoaded', function () {
        const backButton = document.querySelector('.back-button')
        const continueButton = document.querySelector('.continue-button')
        backButton.addEventListener('click', function () {
          window.location.href = 'whatArae.html'
        })
        continueButton.addEventListener('click', function () {
          window.location.href = 'selectAllA.html'
        })
      })
    </script>
  </body>
</html>
